package com.web.service;

import com.github.pagehelper.PageInfo;
import com.web.entity.Doctor;
import com.web.entity.PageResult;

public interface DoctorService {

    public Boolean login(Doctor doctor);

    public Boolean byPhone(Doctor doctor);

    //分页查询
    public PageInfo<Doctor> list(Integer page, Integer pageSize, Doctor doctor);

    public Doctor findById(Integer doctorId);

    public void add(Doctor doctor);

    public void update(Doctor doctor);

    public void delete(Integer doctorId);
}
